package prh25.biblioteca.entity.dao;

import java.sql.Date;
import java.util.List;

import prh25.biblioteca.entity.Professor;


/**
 * <p>Generic DAO layer for Professors</p>
 * <p></p>
 *
 * @author Wilson
 * @see http://code.google.com/p/prh-doc/
 */
public interface ProfessorDAO extends GenericDAO<Professor,Integer> {

	
	  	 
	/**
	 * Find Professor by nome
	 */
	public List<Professor> findByNome(String nome);

	/**
	 * Find Professor by curso
	 */
	public List<Professor> findByCurso(String curso);

	/**
	 * Find Professor by email
	 */
	public List<Professor> findByEmail(String email);

	/**
	 * Find Professor by enderecoId
	 */
	public List<Professor> findByEnderecoId(Integer enderecoId);
	
	/**
	 * Find Professor by enderecoId
	 */
	public List<Professor> findByDataNascimento(Date dataNascimento);

}